﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SChallengeCopyRecord extends Object
    {
        public var floor:int;
        public var level:int;
        public var diff:int;
        public var playerName:String;
        public var combat:int;
        public var usetime:int;
        public var dt:Date;

        public function SChallengeCopyRecord()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.floor);
            param1.writeInt(this.level);
            param1.writeInt(this.diff);
            param1.writeString(this.playerName);
            param1.writeInt(this.combat);
            param1.writeInt(this.usetime);
            param1.writeDate(this.dt);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.floor = param1.readInt();
            this.level = param1.readInt();
            this.diff = param1.readInt();
            this.playerName = param1.readString();
            this.combat = param1.readInt();
            this.usetime = param1.readInt();
            this.dt = param1.readDate();
            return;
        }// end function

    }
}
